import request from '@/utils/request'

// 查询会员-收支明细列表
export function listBalancelog(query) {
  return request({
    url: '/balancelog/balancelog/list',
    method: 'get',
    params: query
  })
}

// 查询会员-收支明细详细
export function getBalancelog(id) {
  return request({
    url: '/balancelog/balancelog/' + id,
    method: 'get'
  })
}

// 新增会员-收支明细
export function addBalancelog(data) {
  return request({
    url: '/balancelog/balancelog',
    method: 'post',
    data: data
  })
}

// 修改会员-收支明细
export function updateBalancelog(data) {
  return request({
    url: '/balancelog/balancelog',
    method: 'put',
    data: data
  })
}

// 删除会员-收支明细
export function delBalancelog(id) {
  return request({
    url: '/balancelog/balancelog/' + id,
    method: 'delete'
  })
}
